package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.domain.Orders;
import com.itheima.reggie.dto.OrdersDto;

import java.time.LocalDateTime;

public interface OrdersService extends IService<Orders> {
    void submit(Orders orders);

    Page<OrdersDto> getOrderDetail(int page, int pageSize, Long number, LocalDateTime beginTime, LocalDateTime endTime);
}
